<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>大众品药药店管理系统</title>
    <meta name="author" content="LovePinYao" />
    <link rel="stylesheet" type="text/css" href="css/style.css" />
    <script src="js/ichart.1.2.1.min.js"></script>
    <!--[if lt IE 9]>
    <script src="js/html5.js"></script>

    <![endif]-->
    <script src="js/jquery.js"></script>
    <script src="js/common.js"></script>
    <script src="js/jquery.mCustomScrollbar.concat.min.js"></script>
    <style>
        .table td{
            text-align: center;
        }
    </style>
</head>
<body>
<!--header-->
<header id="header"></header>
<section class="rt_wrap content mCustomScrollbar">
    <div class="rt_content">
        <section>
            <h1 style="margin-top: 20px;"><strong style="color:grey;">发布所有店铺活动</strong></h1>
            <ul class="ulColumn2">
                <li>
                    <span class="item_name" style="width:120px;">活动名称：</span>
                    <input id="name" type="text" class="textbox textbox_295" placeholder="请输入活动名称..."/>
                    <span class="errorTips hidden">活动名称不合法...</span>
                </li>
                <li>
                    <span class="item_name" style="width:120px;">活动药店：</span>
                    <select class="select" id="pharmacy_select">
                        <option value="all">所有药店</option>
                    </select>
                    <input type="hidden" id="choose_phar" value="all">
                </li>
                <li>
                    <span class="item_name" style="width:120px;">是否置顶：</span>
                    <label class="single_selection"><input type="radio" value="1" name="is_top"/>置顶</label>
                    <label class="single_selection"><input type="radio" value="0" name="is_top"/>不置顶</label>
                </li>
                <li>
                    <span class="item_name" style="width:120px;">活动简介：</span>
                    <textarea id="content" placeholder="这里输入活动相关简介信息....." class="textarea" style="width:500px;height:100px;"></textarea>
                    <span class="errorTips hidden">活动简介不能少于15字!</span>
                </li>
                <li>
                    <span class="item_name" style="width:120px;">开始时间：</span>
                    <input id="begin_time" type="date" class="textbox textbox_295" placeholder="日期形式:2016-01-01"/>
                </li>
                <li>
                    <span class="item_name" style="width:120px;">结束时间：</span>
                    <input id="end_time" type="date" class="textbox textbox_295" placeholder="日期形式:2016-01-01"/>
                </li>
                <li>
                    <span class="item_name" style="width:120px;">活动网址：</span>
                    <input type="text" id="url" class="textbox textbox_295" placeholder="请输入活动宣传网址..."/>
                    <span class="errorTips hidden">网址格式不正确</span>
                </li>
                <li>
                    <span class="item_name" style="width:120px;">图片详情：</span>
                    <input type="button" id="clickToUpload" class="link_btn" value="点击打开图片上传"/>
                    <span class="errorTips">打开图片上传后,活动详情会以图片的方式展示,适用于已经制作完成活动宣传图片的展示,推荐使用网址方式加载活动详情!</span>
                </li>
                <li class="hidden" id="uploadImg">
                    <span class="item_name" style="width:120px;">上传图片：</span>
                    <label class="uploadImg">
                        <input id="fileUpload"  type="file"/>
                        <span>上传图片</span>
                    </label>
                </li>
                <li>
                    <span class="item_name" style="width:120px;"></span>
                    <input type="submit" onclick="confirmPublicPromotion();" class="link_btn"/>
                </li>
            </ul>
        </section>
    </div>
</section>
</body>
<script>
    loadJS('public_promotion');
</script>
</html>
